package com.situ.science.service;


import com.situ.science.pojo.Admin;
import com.situ.science.pojo.dto.PasswordDto;

public interface IAdminService {
    Admin login(Admin admin);

    Admin info(Integer id);

    void update(Admin admin);

    void resetPassword(PasswordDto passwordDto,Integer id);

    String checkPassword(String oldPassword, Integer id);
}
